package com.group.entity.user;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户拥有的权限列表
 */
@TableName("usr_has_authority")
public class UserHasAuthorityEntity {

    private Long id;

    private Long userId;


    private Long authorityId;

    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(Long authorityId) {
        this.authorityId = authorityId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "UserHasAuthorityEntity{" +
                "id=" + id +
                ", userId=" + userId +
                ", authorityId=" + authorityId +
                ", status=" + status +
                '}';
    }
}
